<template>
  <div>
    <button @click="onClick">111</button>

    <input type="text" @input="onInput" />
  </div>
</template>

<script setup lang="ts">
import { reactive } from "vue";

const book = reactive({
  title: "111",
  age: 18,
});

function onClick(event: MouseEvent) {
  event.pageY;
}

function onInput(event: Event) {
  (event.target as HTMLInputElement).value;
}
</script>
